#react {
  width: 500px;
  text-align: center;
}
ul {
  margin: 20px;
}
ul li {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ccc
}
@keyframes rotate {
  0% {
    transform-origin: center;
    transform: rotate3d(0, 0, 1, -360deg)
  }
  100% {
    transform-origin: center;
    transform: none
  }
}
.rotate {
  margin: 50px;
  animation-name: rotate;
  animation-duration: 2s;
  animation-iteration-count: 1;
}